2024-03-07
Here’s a summary of the key files created within the starter blog project:
| File | Description |
|---|---|
| _quarto.yml | Quarto project file. |
| index.qmd | Blog home page. |
| about.qmd | Blog about page. |
| posts/ | Directory containing posts |
| posts/_metadata.yml | Shared options for posts |
| styles.css | Custom CSS for website |
format functions - create markup for specific fields
e.g. format_post_name, format_abstract, format_slides, format_keywords, format_event
yaml_kv for fixing up yaml entries properly
talk_to_params - create data frame with columns that map to key-value pairs
create_talk - creates whole qmd file from parameters
get_image_link - creates an image for the talk
talk_to_params()Goal: Format all the components of the qmd posts, keeping results in a data frame
create_talk()Goal: Create a qmd file from a single row of data
get_image_link()Goal: Get something to use as a cover image
yaml_kv for fixing up yaml entries properly
pub_to_params - create data frame with columns that map to key-value pairs
create_paper - creates whole qmd file from parameters
pub_to_params()Goal: Format all the components of the qmd post, keeping results in a data frame
Works similarly to talk_to_params() but: